local tree_list1 = {"TREE1", "TREE2", "TREE3", "TREE4", "TREE5", "TREE6", "TREE7", "TREE8", "TREE9", "TREE10", "TREE11", "TREE12", "TREE13", "TREE14", "TREE15", "TREE16", "TREE17", "TREE18", "TREE19", "TREE20"}
local tree_list2 = {"PASS_TREE1", "PASS_TREE2", "PASS_TREE3", "PASS_TREE4", "PASS_TREE5", "PASS_TREE6", "PASS_TREE7", "PASS_TREE8", "PASS_TREE9", "PASS_TREE10", "PASS_TREE11", "PASS_TREE12", "PASS_TREE13", "PASS_TREE14", "PASS_TREE15", "PASS_TREE16", "PASS_TREE17", "PASS_TREE18", "PASS_TREE19", "PASS_TREE20"}

quickEntity('>', {show_tooltip=true, name='Entrance to the Castle', display='>', color=colors.YELLOW, image="terrain/granite_door1_open.png", add_displays = {mod.class.Grid.new{display = '>', color_r=255, color_g=255, color_b=0, dislpay_on_seen=true, display_on_remember=true}}, change_level=1})
quickEntity('<', {show_tooltip=true, name='Path to War', display='>', color=colors.RED, change_level=1, change_zone="warpath"})
--quickEntity('<', {show_tooltip=true, name='Path to War', display='>', color=colors.RED, change_level=1, change_zone="warpath", image="terrain/stone_road1.png", add_displays = {mod.class.Grid.new{image="terrain/portal_alpha1.png", dislpay_on_seen=true, display_on_remember=true}}})

quickEntity('^', {name='mountains', display='^', color=colors.UMBER, image="terrain/mountain.png", block_move=true, block_sight=true})
quickEntity('v', {name='mountains', display='^', color=colors.UMBER, image="terrain/mountain.png", block_move=true, block_sight=true, on_move = function(self) self.block_move = false self.does_block_move = false return end})
defineTile('T', tree_list1)
quickEntity('P', {name='tree', display='#', color=colors.LIGHT_GREEN, block_move=true, block_sight=true, image="terrain/sand.png", add_displays = {mod.class.Grid.new{image="terrain/palmtree_alpha1.png", dislpay_on_seen=true, display_on_remember=true}}})
defineTile('Y', tree_list2)
defineTile('o', "WATER")
quickEntity('O', {show_tooltip=true, portal={48, 15}, name='Mana Pool', display='O', color=colors.VIOLET, image="terrain/grass.png", add_displays = {mod.class.Grid.new{image="terrain/portal_alpha.png", dislpay_on_seen=true, display_on_remember=true}}})
quickEntity('=', {name='water', display='~', color=colors.DARK_BLUE, back_color=colors.BLUE, image="terrain/water_roof.png", block_move=true, shader = "water", textures = { function() return _3DNoise, true end }, })
quickEntity(' ', {name='grass', display='.', color=colors.LIGHT_GREEN, image="terrain/grass.png"})
quickEntity('.', {name='sand', display='.', color=colors.SANDY_BROWN, image="terrain/sand.png"})
quickEntity('-', {name='road', display='.', color=colors.WHITE, image="terrain/stone_road1.png"})
quickEntity('S', {name='brick roof top', display='#', color=colors.RED, block_move=true, block_sight=true, image="terrain/granite_wall1.png"})
quickEntity('s', {name='brick roof', display='#', color=colors.RED, block_move=true, block_sight=true, image="terrain/granite_wall1.png"})
quickEntity('t', {name='brick roof chimney', display='#', color=colors.LIGHT_RED, block_move=true, block_sight=true, image="terrain/granite_wall1.png"})
quickEntity('#', {name='wall', display='#', color=colors.WHITE, block_move=true, block_sight=true, image="terrain/granite_wall1.png"})
quickEntity('+', {name='wall', display='#', color=colors.WHITE, block_move=false, block_sight=false, image="terrain/granite_wall1.png"})
quickEntity('=', {name='wall', display='#', color=colors.WHITE, block_move=true, block_sight=false, image="terrain/granite_wall1.png"})
quickEntity('0', {name="Gate", display='=', color=colors.LIGHT_UMBER, block_move=false, block_sight=false, image="terrain/granite_door1_open.png"})
quickEntity('f', {name='firewall', display='#', color=colors.RED, block_move=true, block_sight=true, image="terrain/granite_wall1.png", tint=colors.RED})
quickEntity('F', {name='fireroof', display='#', color=colors.RED, block_move=true, block_sight=true, image="terrain/roof.png", tint=colors.RED})
quickEntity('w', {name='waterwall', display='#', color=colors.BLUE, block_move=true, block_sight=true, image="terrain/granite_wall1.png", tint=colors.BLUE})
quickEntity('W', {name='waterroof', display='#', color=colors.BLUE, block_move=true, block_sight=true, image="terrain/roof.png", tint=colors.BLUE})
quickEntity('e', {name='earthwall', display='#', color=colors.UMBER, block_move=true, block_sight=true, image="terrain/granite_wall1.png", tint=colors.UMBEr})
quickEntity('E', {name='earthroof', display='#', color=colors.UMBER, block_move=true, block_sight=true, image="terrain/roof.png", tint=colors.UMBER})
quickEntity('a', {name='airwall', display='#', color=colors.GOLD, block_move=true, block_sight=true, image="terrain/granite_wall1.png", tint=colors.YELLOW})
quickEntity('A', {name='airroof', display='#', color=colors.GOLD, block_move=true, block_sight=true, image="terrain/roof.png", tint=colors.YELLOW})

quickEntity('1', {show_tooltip=true, name="Fire Supplies", display='1', color=colors.RED, --[[resolvers.store("FIRE_STORE"),]] image="terrain/fire_store.png"})
quickEntity('2', {show_tooltip=true, name="Earth Supplies", display='2', color=colors.UMBER, --[[resolvers.store("EARTH_STORE"),]] image="terrain/earth_store.png"})
quickEntity('3', {show_tooltip=true, name="Water Supplies", display='3', color=colors.BLUE, --[[resolvers.store("WATER_STORE"),]] image="terrain/water_store.png"})
quickEntity('4', {show_tooltip=true, name="Air Supplies", display='4', color=colors.YELLOW, --[[resolvers.store("AIR_STORE"),]] image="terrain/air_store.png"})

startx = 48
starty = 15

--[[     1         2         3         4         5         6         7         8         9
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456]]
return [[
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^....^^.^^.^^...^^...^^^...^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^.^.^^^^.^^^^^.^^.^^.^.^^.^.^^^.^^.^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^.^^^^^^..^^^....^^.^.^^.^.^^^...^^^^^^^^^^^o^^^^^^^
^^^^^^^^^^^ T      ^^^^^^^^^^^^^^^^^^^^^^^^^.^.^^^^^^^.^^.^^.^^...^^...^^^.^^.^^^^^^^^^^^o^^^^^^
^^^^^^^^  TT     T      ^^^^^^^^^^^^^^^^^^^^^v^^^^^...^^^^^^^^^^^^^^^^^^^^^..^^^^^^^^^^^^o^^^^^^
TTT   TTTTTTT                ^^^^^^^^^^^^^   T    ^^^^^           ^       ^^^^           oo     
TTTTTTTTTTTTTTT  T                                             ^         ^   T            oo    
TTTTTTTTTTTTT         T              T                                    ^                oo   
TTTTT T T T    T                                                   T                        o   
TTTT  TT TT  T  T             oooooooo==oo===oo===oo===oo==oooooooo         ^          T    oo  
TTT  T T              T       o###################################o                          o  
 T  T      T    T             o#      +++++++++++++++++++++      #o     T     ^              oo 
. T    T                      o# T  T ===================== T  T #o             T  T          oo
o.                            o#      =====================      #o           TTT^TTT          o
o.           T                o# T  T ===================== T  T #o             TTTT       T    
o.                            o#      ==========>==========      #o         T                   
o..    T            T         o# T  T  T  T  T  -  T  T  T  T  T #o                   T         
oo.                           o#                -                #o                             
oo.                           o#################0#################o                             
oo.                           oooooooooooooooooo-oooooooooooooooooo            T                
oo..  T      T                                  -                                            ooo
ooo.                                     T      -   T                                   oooooooo
ooo.                    T         EEEEE         -         FFFFF       T            ooooooooooooo
ooo..                            EEEEEEEE       -       FFFFFFFF                 ooooooooooooooo
oooo.         T                  eeeeeeeee      -      fffffffff               ooooooooooooooooo
oooo..                           eee2eeeee      -      fffff1fff              oooooooooooooooooo
ooooo.                     T        -------------------------            ooooooooooooooooooooooo
ooooo..         T                               -                   oooooo^^^^^^oooooooooooooooo
ooooo....                                       -                oooo^^^^^^^^^^^^^^^oooooooooooo
oooo..P...................                T     -              ooo^^^^^^^^^^^^^^^^^^^^^^^^oooooo
oo......ooooooooooooooooo.....P                 -            ooo^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^o
ooooooooooooooooooooooooooooo...   AAAAAAAA     -     T     oo^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ooooooooooooooooooooooooooooooo..  aaaaaaaa     -          oo^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
oooooooooooooooooooooooooooooooo.. aaaaa4aa     -         oo^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ooooooooooooooooooooooooooooooooo.     T---------         oo^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
oooooooooooooooooooooooooooooooo..              -        oo^^^^^^^^^ T ^^^^^^^^^^^^^^^^^^^^^^^^^
oooooooooooooooooooooooooooo.....P              -      ooo^^^^^^^^^ T T ^^^^^^^^^^^^^^^^^^^^^^^^
ooooo....ooooooooooooooo.....             T     ----------^^^^^^^^ T T T ^^ ^^ ^^ ^^^^^^^^^^^^^^
ooooooo.....oooooooo.....                      T-    ooo ---^^^^^ T TOT T  ^  ^  ^   ^^^^^^^^^^^
ooooooooo............       T           WWWWWWW -   ooo ^^^---^^^^ T T T ^^ ^^ ^^ ^^     ^^^^^^^
ooooooooooooo.....   .........          wwwwwww -    oo ^^^^^--^^^^ T T ^^^^^^^^^^^^^^^^  ^^^^^^
ooooooooooooooooo.....ooooo.....        wwwwwww -    ^o^^^^^^^--^^^^ T ^^  ^ ^^^  ^^^ ^^^  ^^^^^
oooooooooooooooooooooooooooooo....      wwwww3w -  ..oo^^^^^^^^-^^^^^ ^^^^^ ^ ^^ ^ ^ ^ ^^^  ^^^^
oooooooooooooooooooooooooooooooo....  T      ----...ooo^^^^^^^^-^^^^^^^^ ^ ^^^ ^ ^ ^ ^ ^ ^^  ^^^
ooooooooooooooooooooooooooooooooo................ooooo^^^^^^^^--^^^^^^^ ^ ^^^^^ ^^  ^^^ ^ ^^ ^^^
ooooooooooooooooooooooooooooooooooo........P...ooooo^^^^^^^^^--^^^^^^^^^v^^^^^^^^^^^^^^^^^^^  ^^
ooooooooooooooooooooooooooooooooooooooooooooooooooo  ^^^^^---- ^^v^^vvv^vv^ YTYYYTY          ^^^
oooooooooooooooooooooooooooooooooooooooooooooooooooo  ----- T^^vv^v^vv^^^^ TTYTTT ^^^      ^^^^^
oooooooooooooooooooooooooooooooooooooooooooooooooooooo<^^^^^^^^^^^vvv^     T^TT^^^^^^^^^^^^^^^^^]]
